export const defaultSchema = [
  {
    attr: 1024,
    canTrigger: true,
    code: "switch",
    defaultRecommend: false,
    editPermission: true,
    executable: true,
    extContent: "",
    iconname: "icon-dp_power2",
    id: 1,
    mode: "rw",
    name: "总开关",
    property: {
      type: "bool"
    },
    type: "obj"
  },
  {
    attr: 4096,
    canTrigger: true,
    code: "battery_percentage",
    defaultRecommend: false,
    editPermission: false,
    executable: true,
    extContent: "",
    iconname: "icon-dp_battery",
    id: 101,
    mode: "rw",
    name: "电池电量",
    property: {
      unit: "%",
      min: 0,
      max: 100,
      scale: 0,
      step: 1,
      type: "value"
    },
    type: "obj"
  },
  {
    attr: 4096,
    canTrigger: true,
    code: "timer",
    defaultRecommend: false,
    editPermission: false,
    executable: true,
    extContent: "",
    iconname: "icon-timer1",
    id: 102,
    mode: "rw",
    name: "定时",
    property: {
      type: "raw",
      maxlen: 128
    },
    type: "raw"
  },
  {
    attr: 0,
    canTrigger: true,
    code: "work",
    defaultRecommend: false,
    editPermission: false,
    executable: true,
    extContent: "",
    id: 103,
    mode: "rw",
    name: "工作参数",
    property: {
      type: "raw",
      maxlen: 128
    },
    type: "raw"
  }
] as const;